<?php /* Smarty version 2.6.18, created on 2009-05-07 07:11:51
         compiled from room/job_index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'room/job_index.html', 56, false),array('modifier', 'truncate', 'room/job_index.html', 57, false),array('modifier', 'strip_tags', 'room/job_index.html', 57, false),array('modifier', 'date_format', 'room/job_index.html', 58, false),)), $this); ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
">
<title>商务室 - <?php echo $this->_tpl_vars['sitetitle']; ?>
</title>
<link href="<?php echo $this->_tpl_vars['CSS_PATH']; ?>
css/style.css" rel="stylesheet" type="text/css">
<link href="<?php echo $this->_tpl_vars['INC_PATH']; ?>
css/room.css" rel="stylesheet" type="text/css">
<script src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/prototype.js"></script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td height="83"><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "default/element.top.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr align="center" valign="top">
    <td width="180" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
office/left_bg.gif"><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "room/menu.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
    <td align="center">
	<table width="98%"  border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td><img SRC="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
office/banr_pic.gif" WIDTH=570 HEIGHT=101 ALT=""></td>
        </tr>
      </table>
        <table width="95%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="45" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
office/title_bg.gif"><table height="30" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td>&nbsp;</td>
                  <td class="font14b_org"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
office/icon_newd.gif" width="15" height="16"> 企业招聘信息</td>
                </tr>
            </table></td>
          </tr>
          <tr>
            <td height="5" valign="top" class="bggray2"></td>
          </tr>
      </table>
		<form name="TradeFrm" method="post" action="<?php echo $_ENV['PHP_SELF']; ?>
">
	    <table width="95%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td align="center" valign="top">
              <table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td align="center" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
office/job1.jpg">招聘职位列表 <a href="job.php?action=mod">添加</a></td>
              </tr>
                <tr>
                  <td align="center" valign="top">
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td height="20" align="center" bgcolor="#E8EFF5"><p align="left"><strong>招聘标题</strong></p></td>
                        <td  align="center" bgcolor="#E8EFF5"><strong>创建日期</strong></td><td align="center" bgcolor="#E8EFF5"><strong>截止日期</strong></td><td align="center" bgcolor="#E8EFF5"><strong>操&nbsp; 作</strong></td></tr><tr>
		      <td height="5" colspan="4" align="center" valign="middle"></td></tr>
              <!--招聘信息-->
			  <?php $_from = $this->_tpl_vars['CompanyJobs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['companyjob'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['companyjob']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['j']):
        $this->_foreach['companyjob']['iteration']++;
?>
			  <tr bgcolor="<?php echo smarty_function_cycle(array('values' => "#F3F3F3,#ffffff"), $this);?>
">
              <td height="25" align="left"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['j']['name'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 25) : smarty_modifier_truncate($_tmp, 25)))) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)); ?>
</td>
		      <td align="center" valign="middle"><?php echo ((is_array($_tmp=$this->_tpl_vars['j']['created'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d") : smarty_modifier_date_format($_tmp, "%Y-%m-%d")); ?>
</td>
		      <td align="center" valign="middle"><?php echo ((is_array($_tmp=$this->_tpl_vars['j']['expire_time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d") : smarty_modifier_date_format($_tmp, "%Y-%m-%d")); ?>
</td>
		      <td align="center" valign="bottom"><a href="job.php?action=mod&id=<?php echo $this->_tpl_vars['j']['id']; ?>
" target="_self">修改</a>&nbsp;<a href="./job.php?action=del&id=<?php echo $this->_tpl_vars['j']['id']; ?>
">删除</a></td>
		      </tr>
              <?php endforeach; else: ?>
              <tr><td colspan="4"><div align="center">目前没有任何数据</div></td></tr>
			  <?php endif; unset($_from); ?>
				</table>				</td>
		      </tr>
              </table>			  </td>
	        </tr>
          </table></td>
          </tr>
          <tr>
            <td height="40" align="center">&nbsp;</td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
    </table>
		</form>
	</td>
  </tr>
</table>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "room/foot.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</body>
</center>
</html>